package com.easy;

/**
 * Created by Lxk on 2019/11/24.
 */
public class Solution1108 {

    public String defangIPaddr(String address) {
        if (address == null || address.length() == 0) {
            return "";
        }
        String res = address.replace(".", "[.]");
        return res;
    }

}
